<template>
  <child ref="childRef"></child>
  <div>
    <ul>
      <li v-for="item in childRef.list">{{ item }}</li>
    </ul>
  </div>
</template>

<script setup>
import child from './child.vue'
import { ref } from 'vue'
const childRef = ref(null)
</script>

<style lang="css" scoped></style>